home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Delphi Magazine Collection 2001
/
Delphi Magazine Collection 20001 (2001).iso
/
DISKS
/
Issue51
/
Construc
/
WebMod51.dfm
< prev
next >
Wrap
Text File
|
1999-09-27
|
7KB
|
223 lines
object WebModule2: TWebModule2
OldCreateOrder = False
Actions = <
item
Default = True
Name = 'WebActionItem1'
OnAction = WebModule2WebActionItem1Action
end>
Left = 323
Top = 186
Height = 346
Width = 524
object DCOMConnection1: TDCOMConnection
ServerGUID = '{A2A63DA5-7257-11D3-BE12-00104BF89DAD}'
ServerName = 'Server51.TDM'
Left = 72
Top = 32
end
object XMLBroker1: TXMLBroker
MaxRecords = 3
Params = <>
ProviderName = 'CustomerOrdersProvider'
RemoteServer = DCOMConnection1
WebDispatch.PathInfo = 'XMLBroker1'
OnRequestRecords = XMLBroker1RequestRecords
ReconcileProducer = ReconcilePageProducer1
Left = 72
Top = 96
end
object CustomerOrdersMidasPageProducer: TMidasPageProducer
HTMLDoc.Strings = (
'<HTML>'
'<HEAD>'
'</HEAD>'
'<BODY>'
'<#INCLUDES><#STYLES><#WARNINGS><#FORMS><#SCRIPT>'
'</BODY>'
'</HTML>')
Left = 80
Top = 168
object QueryForm1: TQueryForm
Action =
'http://192.168.91.201/cgi-bin/Client51.exe/CustomerOrdersMidasPa' +
'geProducer'
Method = fmGet
object QueryFieldGroup1: TQueryFieldGroup
object HiddenRecNo: TQueryHiddenText
Text = '0'
end
end
object QueryButtons1: TQueryButtons
object NextXMLPacketButton: TSubmitQueryButton
Caption = 'Next XML Packet'
XMLComponent = QueryForm1
end
end
end
object DataForm1: TDataForm
object ImgDataNavigator1: TImgDataNavigator
XMLComponent = FieldGroup1
ImagePathURL = 'http://192.168.91.201/images/'
end
object FieldGroup1: TFieldGroup
XMLBroker = XMLBroker1
object CustNo: TFieldText
DisplayWidth = 10
Caption = 'CustNo'
FieldName = 'CustNo'
end
object Company: TFieldText
DisplayWidth = 30
Caption = 'Company'
FieldName = 'Company'
end
object Addr1: TFieldText
DisplayWidth = 30
Caption = 'Addr1'
FieldName = 'Addr1'
end
object City: TFieldText
DisplayWidth = 15
Caption = 'City'
FieldName = 'City'
end
object State: TFieldText
DisplayWidth = 20
Caption = 'State'
FieldName = 'State'
end
object Zip: TFieldText
DisplayWidth = 10
Caption = 'Zip'
FieldName = 'Zip'
end
object Country: TFieldText
DisplayWidth = 20
Caption = 'Country'
FieldName = 'Country'
end
object Contact: TFieldText
DisplayWidth = 20
Caption = 'Contact'
FieldName = 'Contact'
end
object FieldStatus1: TFieldStatus
Caption = '*'
end
end
object ImgDataNavigator2: TImgDataNavigator
XMLComponent = DataGrid1
ImagePathURL = 'http://192.168.91.201/images/'
end
object DataGrid1: TDataGrid
XMLBroker = XMLBroker1
XMLDataSetField = 'OrdersTable'
object OrderNo: TTextColumn
DisplayWidth = 10
Caption = 'OrderNo'
FieldName = 'OrderNo'
end
object CustNo2: TTextColumn
DisplayWidth = 10
Caption = 'CustNo'
FieldName = 'CustNo'
end
object SaleDate: TTextColumn
DisplayWidth = 18
Caption = 'SaleDate'
FieldName = 'SaleDate'
end
object ShipDate: TTextColumn
DisplayWidth = 18
Caption = 'ShipDate'
FieldName = 'ShipDate'
end
object ShipVIA: TTextColumn
DisplayWidth = 7
Caption = 'ShipVIA'
FieldName = 'ShipVIA'
end
object ItemsTotal: TTextColumn
DisplayWidth = 10
Caption = 'ItemsTotal'
FieldName = 'ItemsTotal'
end
object AmountPaid: TTextColumn
DisplayWidth = 10
Caption = 'AmountPaid'
FieldName = 'AmountPaid'
end
object StatusColumn1: TStatusColumn
Caption = '*'
end
end
end
end
object ReconcilePageProducer1: TReconcilePageProducer
HTMLDoc.Strings = (
'<HTML>'
'<HEAD>'
'</HEAD>'
'<BODY>'
'<#INCLUDES><#STYLES><#WARNINGS>'
'<P>'
'<FORM name="FORM1">'
'<TABLE>'
'<TR>'
'<TD valign=top><H3>Error message:</H3></TD>'
'<TD valign=top><textarea name="ErrMessage" rows=2 cols=58 readon' +
'ly onfocus='#39'blur();'#39'></textarea></TD>'
'<TD valign=top><H3>on</H3></TD>'
'<TD valign=top><input type=text name="ErrAction" size=12 readonl' +
'y onfocus='#39'blur();'#39'/></TD>'
'</TR>'
'</TABLE>'
'<P>'
'<#RECONCILEGRID>'
'</FORM>'
'<P>'
'<FORM>'
'<H3> Reconcile Action </H3>'
'<input type=radio name="action" value="Cancel" onclick='#39'if(self.' +
'grid1!=null)grid1.cancel();'#39'/> Cancel'
'<input type=radio name="action" value="Correct" onclick='#39'if(self' +
'.grid1!=null)grid1.correct();'#39'/> Correct'
'<input type=radio name="action" value="Merge" onclick='#39'if(self.g' +
'rid1!=null)grid1.merge();'#39'/> Merge'
'<P>'
'<input type=button value="<" onclick='#39'if(self.grid1!=null)grid1.' +
'up();'#39' />'
'<input type=button value=">" onclick='#39'if(self.grid1!=null)grid1.' +
'down();'#39' />'
'<input type=button value="Post/Next" onclick='#39'if(self.grid1!=nul' +
'l)grid1.post();'#39'/>'
'<P>'
'<input type=button value="Reapply Updates" onclick='#39'if(self.grid' +
'1!=null)grid1.Reapply(Submitfrm1, Submitfrm1.postdelta);'#39'/>'
'</FORM>'
'<#FORMS><#SCRIPT>'
'</BODY>'
'</HTML>')
ReconcileGrid.ConflictingColumn.Caption = 'Conflicting Value'
ReconcileGrid.ConflictingColumn.DisplayWidth = 24
ReconcileGrid.FieldNameColumn.Caption = 'Field Name'
ReconcileGrid.FieldNameColumn.DisplayWidth = 18
ReconcileGrid.ModifiedColumn.Caption = 'Submitted Value'
ReconcileGrid.ModifiedColumn.DisplayWidth = 24
ReconcileGrid.OriginalColumn.Caption = 'Original Value'
ReconcileGrid.OriginalColumn.DisplayWidth = 24
Left = 192
Top = 96
end
end